package com.atguigu.eduservice.entity.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * create by: zr
 * description: TODO
 * create time: 2021/11/13 19:47
 * 章节实体
 *
 * @Param: null
 * @return
 */
@Data
@ApiModel(value = "章节信息")
public class ChapterVO implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String title;
    // 这个地方初始化 是防止出现空指针
    private List<VideoVO> children = new ArrayList<>();

}
